package com.xzq.erp.mapper;

import com.xzq.erp.domain.po.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xzq.erp.domain.vo.UserRoleVO;

import java.util.List;

/**
 * <p>
 * 用户与角色关联表 Mapper 接口
 * </p>
 *
 * @author xzq
 * @since 2025-05-19
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    /**
     * 获取用户角色列表
     * @param userIds
     * @return
     */
    List<UserRoleVO> getUserRoleVOList(List<Integer> userIds);
}
